package com.telnetnz.ticketdesk.dao.mapper;

import java.util.List;

import com.rockbb.common.dao.EntityMapper;
import com.telnetnz.ticketdesk.dao.entity.ProjectToUserEntity;

public interface ProjectToUserMapper extends EntityMapper<ProjectToUserEntity>
{
	void deleteByProjectId(int projectId);
	void deleteByUserId(long userId);
	List<ProjectToUserEntity> selectByUserId(long userId);
	List<ProjectToUserEntity> selectByProjectId(int projectId);
	ProjectToUserEntity selectByProjectIdAndUserId(ProjectToUserEntity entity);
}